
$(document).ready(function(){
	$("div.div_event_user img").click(function(){
			window.lemon.js2client(2,"friends_detail.html?_id="+this.id+"&user_id="+user_id);
	});
});

$(document).ready(function(){
	$("div.e_img img").click(function(){
			window.lemon.js2client(13,this.src);		
	});
});
	
$(document).ready(function(){
	$("div.upreply img").click(function(){
			var temp4 = new String(this.id);
			var e_id_current = temp4.replace(/(.*),(.*)/,"$1");
			var e_user_id_current = temp4.replace(/(.*),(.*)/,"$2");
			var judge = window.lemon.httpGet(server_address+"/tom/servlet/C2S7News?e_user_id="+e_user_id_current+"&e_id="+e_id_current+"&e_score=true");
			
			window.location.reload();
	});
});		
			
$(document).ready(function(){
	$("div.editreply img").click(function(){
			window.lemon.js2client(23,this.id);
	});
});	

var sqlrlt = window.lemon.searchTable("select _id from User;");
var sqlrlt1 = new String(sqlrlt);
var begin = sqlrlt1.lastIndexOf(":")+2;
var end = sqlrlt1.lastIndexOf("\"");
var user_id = sqlrlt1.substring(begin,end);


var sqlrlt = window.lemon.searchTable("select phone_number from User;");
var sqlrlt1 = new String(sqlrlt);
var begin = sqlrlt1.lastIndexOf(":")+2;
var end = sqlrlt1.lastIndexOf("\"");
var nick_name = sqlrlt1.substring(begin,end);